import { Injectable } from '@angular/core';
import { Http } from '@angular/http';
import { ServiceBasic } from '../../kalend';

@Injectable()
export class PaysetService extends ServiceBasic{

  constructor(http: Http) {
    super('/payset', http);
  }
  query(doc: any) {
    return this.httppost(`/query`, doc);
  }


  save(doc: any) {
    return this.httppost(`/saveorupdate`, doc);
  }


  logicdelete(doc: any) {
    return this.httppost(`/logicdelete`, doc)
  }


  querybyId(doc: any) {
    return this.httppost(`/querybyId`, doc)
  }

}
